﻿<?php
/**
 * Module Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_modules_whats_new.php 2935 2006-02-01 11:12:40Z birdbrain $
 */
  $zc_show_new_products = false;
  include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_OTHER));
?>

<!-- bof: $vegetable -->

<div class="centerBoxWrapper" id="whatsNew">
	<div class="titleWrap">
        <div class="name"><?php echo zen_image($template->get_template_dir('other.gif' ,DIR_WS_TEMPLATE, $current_page_base,'images').'/other.gif',"蔬菜类") ?></div>
        <div class="viewmore"><a href="http://www.gzsongcai.com/index.php?main_page=index&cPath=9"> 查看更多其他类商品</a></div>
    </div>
    <div class="itemsWrap">
    
<?php
    while (!$others->EOF) { 	
    	?><div class="item"><?php
    	echo '<label>'.'<a href="' . zen_href_link(zen_get_info_page($vegetables->fields['products_id']), 'cPath=' . $productsInCategory[$others->fields['products_id']] . '&products_id=' . $others->fields['products_id']) . '">' . $others->fields['products_name'] . '</a>'.'</label>'. (($others->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($others->fields['products_id']), 'cPath=' . $productsInCategory[$others->fields['products_id']] . '&products_id=' . $others->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $others->fields['products_image'], $others->fields['products_name'], IMAGE_PRODUCT_NEW_WIDTH, IMAGE_PRODUCT_NEW_HEIGHT) . '</a><br />'). zen_get_products_display_price($others->fields['products_id']).'</div>';
      $others->MoveNextRandom();
    }?>
     </div> </div> 
<!-- eof: $vegetable -->
